import Curd from './base/curd'
import http from './base/axios'

var curd = new Curd("user-media-favor");

curd.getUserFavorsForOneMedia = (userId, mediaId) => {
	return http.get(curd.root + 'getUserFavorsForOneMedia', {
		params: {
			userId: userId,
			mediaId: mediaId
		}
	}).then(resp => resp.data);
}

export default curd;
